package com.success.hystrix;

import com.success.domain.User;
import com.success.feign.IFeignSer;
import org.springframework.stereotype.Component;

@Component
public class FeignSerHystrix  implements IFeignSer {


    @Override
    public User getId(Long id) {
        User user = new User(id, "错误", 555);
        return user;
    }
}
